package project;

/**
 * 
 * <p>全局参数</p>
 * <p>Create Time: 2013-5-1           </p>
 */
public class Constants {

    public static final String SECURITY_ROLE_MEMBER = "MEMBER"; // 会员

    public static final String SECURITY_ROLE_MEMBER_REGISTER = "MEMBER_REGISTER"; // 服务中心

    /**
     * 以下3项相加要等于1
     */
    // 奖增值存储比例——增值币账户
    public static final double GOLDCOIN = 0.65;

    // //奖增值存储比例——注册币账户
    public static final double REGISTERCOIN = 0.35;

    // //奖增值存储比例——购物币账户
    public static final double SHOPPINGCOIN = 0.0;

    /**
     *每日分红奖增值币数
     */
    public static final int DIVIDEND_BONUS = 4;

    /**
     *分红奖增值结束币数
     */
    public static final int DIVIDEND_BONUS_END = 740;

    /**
     * 报单奖比例
     */
    public static final double REGISTER_BONUS = 0.02;

    /**
     * 推荐奖比例
     */
    public static final double RECOM_BONUS = 0.18;

    /**
     * 领导奖比例
     */
    public static final double LEADERSHIP_BONUS = 0.1;

    /**
     * 新账号报单币付款
     */
//    主账号报单币付值方案1
    public static final double MAIN_NEW_USER_COIN_PAY_B =  304.62;
    
    public static final double MAIN_GOLD_COIN_PAY_A = 244.62;
    
    public static final double MAIN_NEW_USER_COIN_PAY_A = 60;
    
   

//    // 主账号报单币付值方案2
//    public static final double SUB_NEW_USER_COIN_PAY_A = 60;
//
//
//    // 账号增值币付值
//    public static final double SUB_REGISTER_COIN_PAY_A = 190;

    // 账号增值币种付值
    public static final double SUB_REGISTER_COIN_PAY_B = 250;

    /**
     * 进出
     */
    public static final double COIN_INTO = 6.5;

    public static final double COIN_OUT = 6;

    /**
     * 推荐人数升级注册中心
     */

    public static final double MEMBER_REGISTER_AUTH = 9;
    
    

    /**
     * 平台服务费
     */

    public static final int SERVICE_CHARGE_COIN = 10;
    
    /**
     * 销售增值币手续比例
     */

   public static final double SELL_GOLDCOIN_FEES  = 0.1;

}
